package com.yige.service.mongoService

import com.mongodb.DBCollection
import com.yige.service.ChenService
import org.springframework.stereotype.Service

/**
 * Created by sunhao on 2015/12/22 0022.
 */
@Service
class MongoChenService extends BasicMongoServiceImp implements ChenService {
    @Override
    DBCollection getCollection() {
        return mongoTemplate.getCollection("chen")
    }
}
